$OpenBSD: patch-chromecast_browser_cast_content_browser_client_cc,v 1.10 2017/04/28 14:21:00 robert Exp $
--- chromecast/browser/cast_content_browser_client.cc.orig.port	Wed Apr 19 21:06:32 2017
+++ chromecast/browser/cast_content_browser_client.cc	Thu Apr 27 19:56:00 2017
@@ -298,7 +298,7 @@ void CastContentBrowserClient::AppendExtraCommandLineS
       command_line->AppendSwitch(switches::kAllowHiddenMediaPlayback);
   }
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Necessary for accelerated 2d canvas.  By default on Linux, Chromium assumes
   // GLES2 contexts can be lost to a power-save mode, which breaks GPU canvas
   // apps.
